package com.cskaoyan.bean.bo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author :LuoXuXin
 * @version : $version
 * @date :Created in 2022/4/8   16:11
 * @description:
 * @return:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class RoleCreateBo {
    @Length(max = 30)
            @NotNull
            @NotBlank
    String name;
    String desc;
}
